The AddGroup Method adds a group to the report. ConditionField indicates the field for grouping, Condition indicates a change in a field value that generates a grouping, and SortDirection specifies the direction in which groups are sorted.
Sub AddGroup (GroupNumber As Integer, pConditionField As Object,
Condition As CRGroupCondition, SortDirection As CRSortDirection)
Parameter | Description |
---|---|
Specifies the number of the group to be added (the position of the group in relation to existing groups). For example, to add a group to the first position, set GroupNumber=1. | |
Specifies the field to be grouped. The field can be a database field definition object or the field name | |
CRGroupCondition. Specifies CRGroupCondition (see table below) indicating the grouping condition (that is, group on any value). | |
CRSortDirection. Specifies the sort direction for the group. |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |